package com.ruoyi.student.domain.DTO;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 课程班级关联对象 re_course_class
 * 
 * @author ruoyi
 * @date 2023-09-10
 */
public class ReCourseClassDTO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程id列表 */
    private Long[] courseIds;

    /** 班级Id */
    @Excel(name = "班级Id")
    private Long classId;

    public void setCourseIds(Long[] courseIds)
    {
        this.courseIds = courseIds;
    }

    public Long[] getCourseIds()
    {
        return courseIds;
    }

    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classId", getClassId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
